Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidation features 'What's New' & 'Paste html to govspeak' #2091

Closed
wants to merge 3 commits into from

Conversation

CL-GDS
Copy link
Contributor

@CL-GDS CL-GDS commented Jul 3, 2023

Includes PR #2083

What

setup guide: https://frontend.design-system.service.gov.uk/

Added design system layout and CSS
Added whats new index page linked to a yaml for translation Added back to top for whats-new page
Added type for whats new page
Added updates for whats new page
Extended application js with the components used
Extended application css with the components used and a class for the govspeak text as colour error when importing Added govuk js as described in design system setup guide Extended pacakge with front end and dart as described in the setup guide Extended routes to path whats_new to /whats-new
Added controller for whats-new

Why

Alert users to the features that the consolidation team is adding. Starts as a base for the design system so other pages can be added easily. Emulate as close to the look of Whitehall whats-new page, getting error of colour grey when importing govspeak component when following the setup guide so have emulated it in a class. Added all_components to JS as we will be replacing pages we can add single components.

Merge the features previously added to move forward with a release plan with branches based from main

Trello

https://trello.com/c/yJcgYJS7/340-manuals-improvement-comms

Pics

Screenshot 2023-07-03 at 15-21-59 What’s new in Manuals Publisher - GOV UK Manuals Publisher

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

What

Extended manuals _form.html.erb textareas to js-paste-html-to-govspeak class
Extended sections _form.html.erb textareas to js-paste-html-to-govspeak class
Extended application.js to have a function to apply pasteHtmlToGovspeak.pasteListener to js-paste-html-to-govspeak class
Extended package.json to install the NPM package

Why

Implement paste-html-to-govspeak function to textareas on forms so users can paste HTML into them and it convert to govspeak to speed creating and editing
What

Extend creating-and-editing-a-manual.feature by adding senario to test pasting HTML into a _form used by a manual.
Extended manual_steps.rb by adding 'When' with variable field
What

Added design system layout and CSS
Added whats new index page linked to a yaml for translation
Added back to top for whats-new page
Added type for whats new page
Added updates for whats new page
Extended application js with the components used
Extended application css with the components used and a class for the govspeak text as colour error when importing
Added govuk js as described in design system setup guide
Extended pacakge with front end and dart as described in the setup guide
Extended routes to path whats_new to /whats-new
Added controller for whats-new

Why

Alert users to the features that the consolidation team is adding. Starts as a base for the design system so other pages can be added easily. Emulate as close to the look of Whitehall whats-new page, getting error of colour grey when importing govspeak following the guide so have emulated it in a class
@kevindew
Copy link
Member

kevindew commented Jul 4, 2023

I don't really understand why we've merged the paste-html-to-govspeak branch into this as it doesn't seem coupled?

There's a few odd things in the design system commit that'd be good to work out in a distinct PR, it might be worth having a chat. I'm also wondering if we really want a "what's new" page if it's likely not to be updated much after this month? Won't it feel rather stale? Might be good to have a chat before proceeding further

@danmooregds
Copy link
Contributor

I don't really understand why we've merged the paste-html-to-govspeak branch into this as it doesn't seem coupled?

There's a few odd things in the design system commit that'd be good to work out in a distinct PR, it might be worth having a chat. I'm also wondering if we really want a "what's new" page if it's likely not to be updated much after this month? Won't it feel rather stale? Might be good to have a chat before proceeding further

the merge into consolidation-main branch was probably my fault, miscommunication as i went on leave before last week: having picked back up, we were also thinking to split back to 2 PRs to main - look like you're at away day today hopefully quick chat to resolve in morning (i've pinged Ahmed re: utility/value of what's new)

@mtaylorgds
Copy link
Contributor

Closing PR as we have split into two separate PRs:

@mtaylorgds mtaylorgds closed this Jul 11, 2023
@CL-GDS CL-GDS deleted the consolidation-main branch July 17, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants